package com.zzy.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzy.system.domain.OutStockSheetOrderDetail;
import com.zzy.system.domain.OutStockSheetOrderDetailBatch;
import com.zzy.system.mapper.OutStockSheetOrderDetailBatchMapper;
import com.zzy.system.mapper.OutStockSheetOrderDetailMapper;
import com.zzy.system.service.IOutStockSheetOrderDetailBatchService;
import com.zzy.system.service.IOutStockSheetOrderDetailService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OutStockSheetOrderDetailBatchServiceImpl extends ServiceImpl<OutStockSheetOrderDetailBatchMapper, OutStockSheetOrderDetailBatch> implements IOutStockSheetOrderDetailBatchService {
    private static final Logger log = LoggerFactory.getLogger(OutStockSheetOrderDetailBatchServiceImpl.class);


    @Override
    public void saveOutStockSheetOrderDetailBatch(List<OutStockSheetOrderDetailBatch> outStockSheetOrderDetailBatchList) {
        if(outStockSheetOrderDetailBatchList != null && !outStockSheetOrderDetailBatchList.isEmpty()){

            this.saveBatch(outStockSheetOrderDetailBatchList);
        }

    }
}